package com.itc.bpm.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itc.common.core.validate.Add;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@TableName("bpm_model_task_custom_variables")
public class BpmModelTaskCustomVariables extends BaseDO {
    @TableId
    private Long id;
    @ApiModelProperty(value = "任务key")
    @NotNull(message = "任务key",groups = Add.class)
    private String taskKey;
    @ApiModelProperty(value = "流程定义id")
    @NotNull(message = "流程定义id",groups = Add.class)
    private String processDefinitionId;
    @ApiModelProperty(value = "任务自定义固定参数")
    private String varibalesJson;

}
